<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="common.jsp"%>
<jsp:useBean id="cart" scope="session" class="cn.jhc.bean.CartBean" />
<%
	String Class = request.getParameter("class");
	String address = request.getParameter("address");
	String contact = request.getParameter("contact");
	String phone = request.getParameter("phone");
	UserBean users = (UserBean) session.getAttribute("user");
	if (null != users) {
		String user=users.getDisplayname();
		shopdb.addlist(user, Class, address, contact, phone, cart);
		shopdb.addlistgoods(user, cart);
	}
	
			
%>